package com.ddone.controller;

import org.apache.http.client.HttpClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ddone
 * @date 2024/4/4-10:00
 */
@RestController
public class HelloController {

    @Autowired
    private HttpClient httpClient;

    @GetMapping("/hello")
    public String hello(){
        System.out.println(httpClient);
        return "Hello";
    }
}
